package com.xbongbong.paas.pojo;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.Valid;
import java.io.Serializable;

/**
 * @author lrj
 * @date 2021/11/23 14:58
 * 结果展示
 */
@Getter
@Setter
@ToString
public class ResultRulesPojo implements Serializable {

    private static final long serialVersionUID = 2028164834861273796L;


    private String uuId;

    private Long businessRuleId;

    /**
     * 生效时规则
     */
    @Valid
    private ActiveRulePoJo activeRule;

    /**
     * 失效时规则
     */
    @Valid
    private ActiveRulePoJo inactiveRule;

    private Integer priority;
}
